package vesion2.barrier.spec;

import vesion2.object.Point;
import vesion2.object.Rectangle;

import java.awt.*;

public class Crass extends Rectangle {
    public Crass(Point left_up, int width, int height) {
        super(left_up, width, height);
        backColor=new Color(0x9F04FC04, true);
    }

    public Crass(){this(new Point(),0,0);}

    @Override
    public String toString() {
        return "Crass{" +
                "isAlive=" + isAlive +
                ", backColor=" + backColor +
                ", left_up=" + left_up +
                ", right_down=" + right_down +
                ", width=" + width +
                ", height=" + height +
                '}';
    }
}
